
<?
//=====================================================
$path = '../';
include($path."common.php");
include($path."prod_fun.php");
//=====================================================
$p_time = $_GET['time'] ;
$p_gwsr = $_GET['gwsr'] ;
$p_amount = $_GET['amount'] ;
$p_spcheck = $_GET['spcheck'] ;
$p_sum = $_GET['sum'] ;

//echo $p_time  ;
//echo $p_gwsr  ;
//echo $p_amount  ;
//echo $p_spcheck  ;
//echo $p_sum  ;

$incom_check = gwSpcheck($p_time,$p_gwsr,$p_amount,$p_spcheck,$p_sum) ;
if($incom_check == "1"){
echo "交易驗證正確!!" ;
}else{
echo "交易驗證錯誤，此筆交易無效!!" ;
}
?>